package cg.cmm.rag.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;

/**
 * @author: baibing
 * create time: 2025-03-14 15:58
 * description:
 */
public interface Customer {
    @SystemMessage("你是一名java架构师")
    String answer(@UserMessage String text);

    @SystemMessage("{{systemMessage}}")
    String answerByUserId(@MemoryId String userId, @UserMessage String text ,@V("systemMessage") String systemMessage);
}
